package com.ruoyi.ssh.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节对象 chapter
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Chapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 章节ID */
    private Integer id;

    /** 所属课程ID */
    @Excel(name = "所属课程ID")
    private Integer courseId;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String name;

    /** 排序 */
    private Integer sortOrder;

    /** 删除状态：0正常，1删除 */
    @Excel(name = "删除状态：0正常，1删除")
    private Integer del;

    /**课程外键*/
    private Course course;
}
